package com.htc.android.footprints.utils.voice;

import java.io.File;

import android.os.StatFs;

public class DiskSpaceCalculator
{
  private long mBytesPerSecond = -1L;
  private long mBytesRemaining;
  private File mFile = null;
  private long mPollTime;
  private long mStartBytesRemaining;
  private long mStartTime;

  public long pollDiskSpace()
  {
    StatFs localStatFs = new StatFs(this.mFile.getAbsolutePath());
    long l1 = localStatFs.getAvailableBlocks() * localStatFs.getBlockSize();
    long l2 = System.currentTimeMillis();
    if (l1 == this.mBytesRemaining);
    while (true)
    {
      return l1;
    }
  }

  public void reset()
  {
    this.mBytesPerSecond = -1L;
    this.mBytesRemaining = -1L;
    this.mStartBytesRemaining = -1L;
  }

  public long timeRemaining()
  {
    long l = 0;
    if (this.mBytesPerSecond <= 0L)
      l = -1L;
    while (true)
    {
      return l;
    }
  }
}

/* Location:           E:\workspace\dex2java\dex-translator-0.0.9.3\HtcFootprints_dex2jar.jar
 * Qualified Name:     com.htc.android.footprints.utils.voice.DiskSpaceCalculator
 * JD-Core Version:    0.6.0
 */